Systems and methods for training devices to recognize sound patterns

ABSTRACT

Systems and methods for training a control panel to recognize user defined and preprogrammed sound patterns are provided. Such systems and methods can include the control panel operating in a learning mode, receiving initial ambient audio from a region, and saving the initial ambient audio as an audio pattern in a memory device of the control panel. Such systems and methods can also include the control panel operating in an active mode, receiving subsequent ambient audio from the region, using an audio classification model to make an initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern, determining whether the initial determination is correct, and when the control panel determines that the initial determination is incorrect, modifying or updating the audio classification model for improving the accuracy in detecting future consistency with the audio pattern.

FIELD

The present invention relates generally to security systems and home automation systems. More particularly, the present invention relates to systems and methods for training devices in a security system or a home automation system to recognize preprogrammed or user customized sound patterns.

BACKGROUND

Known security systems and home automation systems can recognize ambient sound patterns that match preprogrammed sound patterns identified during manufacture or installation of devices in the security systems or the home automation systems. However, such known security systems and home automation systems cannot be trained to recognize user customized sound patterns that differ from the preprogrammed sound patterns. Additionally, the accuracy of audio classification models programmed during the manufacture or the installation of known security systems and home automation systems can be inaccurate because such known systems do not account for the variability of noise characteristics of deployed environments.

In view of the above, there is a need and an opportunity for improved systems and methods.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a system in accordance with disclosed embodiments;

FIG. 2 is a block diagram of a control panel in accordance with disclosed embodiments; and

FIG. 3 is a flow diagram of a method in accordance with disclosed embodiments.

DETAILED DESCRIPTION

While this invention is susceptible of an embodiment in many different forms, specific embodiments thereof will be described herein in detail with the understanding that the present disclosure is to be considered as an exemplification of the principles of the invention. It is not intended to limit the invention to the specific illustrated embodiments.

Embodiments disclosed herein can include systems and methods for training devices in a security system or a home automation system to recognize sound patterns. For example, such security systems or home automation systems can include a control panel or other similar device that can operate in a learning mode, during which the control panel can learn the sound patterns, and in an active mode, during which the control panel can identify the sound patterns and be trained for identifying the sound patterns at future times.

When the control panel is operating in the learning mode, the control panel can receive initial ambient audio from a region in which the devices in the security system or the home automation system are deployed. Then, the control panel can save the initial ambient audio as an audio pattern in a memory device of the control panel. In some embodiments, the initial ambient audio can include customized audio relevant to a user of the security system or the home automation system that is different than preprogrammed or preconfigured audio saved in the memory device during manufacture or installation of the control panel. For example, in some embodiments, the initial ambient audio can include live audio of the user's dog barking or the user's baby crying. Additionally, or alternatively, in some embodiments, the initial ambient audio can include, but is not limited to audio of a drill being used, a siren wailing, a phone ringing, a vacuum running, the user coughing, a door being operated, water running, knocking on a door, a microwave running, an electric shaver running, teeth brushing, a blender running, a dishwasher running, a doorbell ringing, a toilet flushing, a hairdryer running, the user laughing, the user snoring, the user typing, the user hammering, a car honking, a vehicle running, a saw being used, a cat meowing, an alarm clock activating, and kitchen items being used.

In some embodiments, the control panel can receive user input with the initial ambient audio that describes the initial ambient audio. In these embodiments, the control panel can use such a description of the initial ambient audio to identify user actions or non-actions that are consistent with a presence of the initial ambient audio in the region and/or user actions or non-actions that are inconsistent with the presence of the initial ambient audio in the region. Additionally or alternatively, in some embodiments, the control panel can receive user input with the initial ambient audio that directly identifies the user actions or non-actions that are consistent with the presence of the initial ambient audio in the region and/or the user actions or non-actions that are inconsistent with the presence of the initial ambient audio in the region.

In any embodiment, after operating in the learning mode, the control panel can transition to the active mode, and when operating in the active mode, the control panel can receive subsequent ambient audio from the region. Then, the control panel can use an audio classification model (e.g. audio processing rules) to make an initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern, such as whether the subsequent ambient audio matches or is otherwise consistent with the user's dog barking or the user's baby crying.

In some embodiments, after initially determining whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the control panel can determine whether the initial determination is correct. For example, in some embodiments, the control panel can identify and evaluate implicit and/or explicit feedback to determine whether the initial determination is correct.

In some embodiments, when the control panel determines that the initial determination is correct, the control panel can initiate one or more actions, such as activating a camera for monitoring the region or activating an alarm in the region, or can transmit one or more signals to initiate the same. In some embodiments, a type of the one or more other actions initiated by the control panel can be dependent on a severity and a nature of a type of event associated with the audio pattern.

However, in some embodiments, when the control panel determines that the initial determination is incorrect, the control panel can modify or update the audio classification model for accuracy in detecting future consistency with the audio pattern. For example, when the control panel initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, but subsequently determines that the initial determination is incorrect, that is, the initial determination was a false positive, the control panel can modify or update the audio classification model for the accuracy in detecting the future consistency with the audio pattern so that the audio classification model as modified or updated would identify the subsequent ambient audio as being inconsistent with the audio pattern. Similarly, in some embodiments, when the control panel initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but subsequently determines that the initial determination is incorrect, that is, the initial determination was a false negative, the control panel can modify or update the audio classification model for the accuracy in detecting the future consistency with the audio pattern so that the audio classification model as modified or updated would identify the subsequent ambient audio as being consistent with the audio pattern at future times.

In some embodiments, a format and a composition of the audio pattern can be dependent on a type of the audio classification model being used to make the initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern. For example, in some embodiments, the audio classification model can include one or more type of a supervised machine learning model, such as a Gauss Naïve Bayes classifier, a support vector machine classifier, and a Fischer's linear discriminant analysis.

When the Gauss Naïve Bayes classifier type model is used to make the initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the audio pattern can include a derived mean and variance of audio features of the initial ambient audio. For example, the audio features can include descriptive statistics of a window of audio data, a functional approximation of the window of audio data, or any characterization of the window of audio data, and in some embodiments, a size of the window of audio data can be dependent on a length of the initial ambient audio and can be, for example, 1 sec, 10 sec, or 1 min. During the active mode, a probability the audio features of the subsequent ambient audio belonging within a normal distribution of the derived mean and variance of the audio features of the initial ambient audio can be calculated. When the probability is larger than a preset threshold, for example, 75%, the subsequent ambient audio can be identified as matching or being otherwise consistent with the audio pattern.

However, when the support vector machine classifier type model is used to make the initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the audio pattern can include a hyperplane/kernel that can differentiate the audio features of the initial ambient audio into a unique event as compared with the audio features of background noise and other custom or preconfigured events. During the active mode, the audio features of the subsequent ambient audio can be evaluated with the hyperplane/kernel in an attempt to assign the audio features of the subsequent ambient audio to the unique event. When the audio features of the subsequent ambient audio can be assigned to the unique event, the subsequent ambient audio can be identified as matching or being otherwise consistent with the audio pattern.

However, when the Fischer's linear discriminant analysis model is used to make the initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the audio pattern can include a linear hyperplane that that can differentiate the audio features of the initial ambient audio into a unique event as compared with the audio features of background noise and other custom or preconfigured events. For example, the linear hyperplane can compresses clusters of the audio features of the initial ambient audio that correspond to the unique event and locate those clusters far apart from the clusters of the audio features of the background noise and other custom or preconfigured events to enable best possible discrimination among all events. During the active mode, the audio features of the subsequent ambient audio can be projected on to the liner hyperplane in an attempt to assign the audio features of the subsequent ambient audio to the unique event. When the audio features of the subsequent ambient audio can be assigned to the unique event, the subsequent ambient audio can be identified as matching or being otherwise consistent with the audio pattern.

As disclosed and described herein, the control panel can use the explicit feedback to determine whether the initial determination is correct. For example, in some embodiments, when the control panel initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the control panel can transmit a notification message indicative of the initial determination to a notification device.

Then, responsive to the notification message, the control panel can receive the explicit feedback from the user directly or via the notification device, and the explicit feedback can explicitly confirm or deny that the subsequent ambient audio matches or is otherwise consistent with the audio pattern. For example, the explicit feedback can include user input confirming or denying that the user's dog is barking or the user's baby is crying. In some embodiments, when the explicit feedback denies that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, that is, identifies a false positive, the control panel can determine that the initial determination is incorrect and can modify or update the audio classification model as described herein.

Similarly, when the control panel initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but receives the explicit feedback denying that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, that is, identifies a false negative, the control panel can determine that the initial determination is incorrect and can modify or update the audio classification model as described herein. In this regard, the control panel can receive the explicit feedback even without transmitting the notification message to the notification device.

As further disclosed and described herein, the control panel can use the implicit feedback to determine whether the initial determination is correct. For example, the implicit feedback can include detecting an occurrence or non-occurrence of one or more of the user actions or non-actions that would be expected when the user's dog is barking or the user's baby is crying, such as opening a door to or movement towards a room in which the dog or the baby is located.

In some embodiments, when the control panel initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, but subsequently detects one or more of the user actions or non-actions that are inconsistent with the presence of the initial ambient audio in the region, that is, identifies a false positive, the control panel can determine that the initial determination is incorrect and can modify or update the audio classification model as described herein. Similarly, when the control panel initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but subsequently detects one or more of the user actions or non-actions that are consistent with the presence of the initial ambient audio in the region, that is, identifies a false negative, the control panel can determine that the initial determination is incorrect and can modify or update the audio classification model as described herein.

FIG. 1 is a block diagram of a system 20 in accordance with disclosed embodiments. As seen in FIG. 1, the system 20 can include a control panel 22, a notification device 24, and a plurality of connected devices 26, such as sensors, microphones, cameras, and the like, deployed in a region R. As further seen in FIG. 1, the notification device 24 and the plurality of connected devices 26 can communicate with the control panel 22 via known wired and/or wireless mediums.

FIG. 2 is a block diagram of the control panel 22 in accordance with disclosed embodiments. As seen in FIG. 2, the control panel 22 can include a programmable processor 28, a memory device 30, a microphone 32, and a communication interface 34.

FIG. 3 is a flow diagram of a method 100 in accordance with disclosed embodiments. As seen in FIG. 3, the method 100 can include the programmable processor 28 receiving initial ambient audio from the region R via the microphone 32 while in a learning mode, as in 102, and saving the initial ambient audio as an audio pattern in the memory device 30, as in 104. Then, the method 100 can include the programmable processor 28 transitioning to an active mode and receiving subsequent ambient audio from the region R via the microphone 32 while in the active mode, as in 106.

Responsive to receiving the subsequent ambient audio as in 106, the method 100 can include the programmable processor 28 using audio classification model stored in the memory device 30 to make an initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern, as in 108, identifying implicit and/or explicit feedback, and determining whether the implicit and/or explicit feedback indicates whether the initial determination made as in 108 is correct, as in 110. In some embodiments, the programmable processor 28 can receive the explicit feedback from the communication interface 34, and the communication interface 34 can receive the explicit feedback directly from a user or from the notification device 24 receiving the explicit feedback directly from the user. Additionally or alternatively, in some embodiments, the programmable processor 28 can receive the implicit feedback from the communication interface 34, and the communication interface 34 can receive the implicit feedback from one or more of the plurality of connected devices 26. For example, the implicit feedback can include information about the region R or activity therein detected by the one or more of the plurality of connected devices 26.

When the programmable processor 28 determines that initial determination made as in 108 is correct as in 110, the method 100 can include the programmable processor 28 taking no action, as in 112. However, when the programmable processor 28 determines that the initial determination made as in 108 is incorrect as in 110, the method 100 can include the programmable processor 28 modifying or updating the audio classification model for accuracy in detecting future consistency with the audio pattern, as in 114.

Although a few embodiments have been described in detail above, other modifications are possible. For example, the logic flows described above do not require the particular order described or sequential order to achieve desirable results. Other steps may be provided, steps may be eliminated from the described flows, and other components may be added to or removed from the described systems. Other embodiments may be within the scope of the invention.

From the foregoing, it will be observed that numerous variations and modifications may be effected without departing from the spirit and scope of the invention. It is to be understood that no limitation with respect to the specific system or method described herein is intended or should be inferred. It is, of course, intended to cover all such modifications as fall within the spirit and scope of the invention. 

What is claimed is:
 1. A method comprising: a control panel operating in a learning mode receiving initial ambient audio from a region; the control panel saving the initial ambient audio as an audio pattern in a memory device of the control panel; the control panel operating in an active mode receiving subsequent ambient audio from the region; the control panel using audio classification model to make an initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern; the control panel determining whether the initial determination is correct; and when the control panel determines that the initial determination is incorrect, the control panel modifying or updating the audio classification model for accuracy in detecting future consistency with the audio pattern.
 2. The method of claim 1 further comprising: when the control panel initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the control panel transmitting a notification message to a notification device; and responsive to the notification message, the control panel receiving user input confirming or denying the subsequent ambient audio matching or otherwise being consistent with the audio pattern.
 3. The method of claim 2 further comprising: when the user input denies that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the control panel determining that the initial determination is incorrect.
 4. The method of claim 1 further comprising: the control panel identifying first user actions or non-actions that are consistent with a presence of the initial ambient audio in the region; and the control panel identifying second user actions or non-actions that are inconsistent with the presence of the initial ambient audio in the region.
 5. The method of claim 4 further comprising: when the control panel initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, but detects one or more of the second user actions or non-actions, the control panel determining that the initial determination is incorrect.
 6. The method of claim 4 further comprising: when the control panel initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but detects one or more of the first user actions or non-actions, the control panel determining that the initial determination is incorrect.
 7. The method of claim 1 further comprising: when the control panel initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but receives user input indicating that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the control panel determining that the initial determination is incorrect.
 8. The method of claim 1 wherein the initial ambient audio is different from preprogrammed audio saved in the memory device during manufacture of the control panel.
 9. The method of claim 1 further comprising: when the control panel initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, but that the initial determination is incorrect, the control panel modifying or updating the audio classification model for the accuracy in detecting the future consistency with the audio pattern so that the audio classification model as modified or updated would identify the subsequent ambient audio as failing to match or otherwise being inconsistent with the audio pattern.
 10. The method of claim 1 further comprising: when the control panel initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but that the initial determination is incorrect, the control panel modifying or updating the audio classification model for the accuracy in detecting the future consistency with the audio pattern so that the audio classification model as modified or updated would identify the subsequent ambient audio as matching or otherwise being consistent with the audio pattern.
 11. A system comprising: a programmable processor; a memory device coupled to the programmable processor; and a microphone coupled to the programmable processor, wherein, when operating in a learning mode, the programmable processor receives initial ambient audio from a region via the microphone and saves the initial ambient audio as an audio pattern in the memory device, wherein, when operating in an active mode, the programmable processor receives subsequent ambient audio from the region via the microphone and uses audio classification model stored in the memory device to make an initial determination as to whether the subsequent ambient audio matches or is otherwise consistent with the audio pattern, wherein the programmable processor determines whether the initial determination is correct, and wherein, when the programmable processor determines that the initial determination is incorrect, the programmable processor modifies or updates the audio classification model for accuracy in detecting future consistency with the audio pattern.
 12. The system of claim 11 wherein, when the programmable processor initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the programmable processor transmits a notification message to a notification device, and wherein, responsive to the notification message, the programmable processor receives user input confirming or denying the subsequent ambient audio matching or otherwise being consistent with the audio pattern.
 13. The system of claim 12 wherein, when the user input denies that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the programmable processor determines that the initial determination is incorrect.
 14. The system of claim 11 wherein the programmable processor identifies first user actions or non-actions that are consistent with a presence of the initial ambient audio in the region and identifies second user actions or non-actions that are inconsistent with the presence of the initial ambient audio in the region.
 15. The system of claim 14 wherein, when the programmable processor initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, but detects one or more of the second user actions or non-actions, the programmable processor determines that the initial determination is incorrect.
 16. The system of claim 14 wherein, when the programmable processor initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but detects one or more of the first user actions or non-actions, the programmable processor determines that the initial determination is incorrect.
 17. The system of claim 11 wherein, when the programmable processor initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but receives user input indicating that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, the programmable processor determines that the initial determination is incorrect.
 18. The system of claim 11 wherein the initial ambient audio is different from preprogrammed audio saved in the memory device during manufacture.
 19. The system of claim 11 wherein, when the programmable processor initially determines that the subsequent ambient audio matches or is otherwise consistent with the audio pattern, but that the initial determination is incorrect, the programmable processor modifies or updates the audio classification model for the accuracy in detecting the future consistency with the audio pattern so that the audio classification model as modified or updated would identify the subsequent ambient audio as failing to match or otherwise being inconsistent with the audio pattern.
 20. The system of claim 11 wherein, when the programmable processor initially determines that the subsequent ambient audio fails to match or is otherwise inconsistent with the audio pattern, but that the initial determination is incorrect, the programmable processor modifies or updates the audio classification model for the accuracy in detecting the future consistency with the audio pattern so that the audio classification model as modified or updated would identify the subsequent ambient audio as matching or otherwise being consistent with the audio pattern. 